<?php
namespace app\admin\validate;

use think\Validate;

class SpecsValue extends Validate
{
    protected $rule = [
        'specs_id' => 'require',
        'name' => 'require',
    ];

    protected $message = [
        'specs_id' => 'specs_id不能为空',
        'name' => '名称不能为空',
    ];

//    protected $scene = [
//        'category_add' => ['pid','name'],
//        'category_listorder' => ['listorder', 'id'],
//        'category_status' => ['id','status'],
//        'category_update' => ['id'],
//    ];
}
